using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace Util.DataBase
{
    public interface IContext
    {
        /// <summary>
        /// 获得数据库访问上下文
        /// </summary>
        /// <param name="bool_share_thread">实例是否共享线程</param>
        /// <param name="connString">连接字符串的键值</param>
        /// <returns></returns>
        SqlSugarClient GetDbContext(bool bool_share_thread, string connString);
    }
}
